package service;

import org.springframework.web.servlet.config.annotation.ResourceHandlerRegistry;
import pojo.HospitalBed;

import java.util.List;

public interface HospitalBedService {
    List<HospitalBed> findAllHospitalBeds();
    HospitalBed findHospitalBedById(Integer id);
    void saveHospitalBed(HospitalBed hospitalBed);
    void updateHospitalBed(HospitalBed hospitalBed);
    void deleteHospitalBed(Integer id);

    void addResourceHandlers(ResourceHandlerRegistry registry);
}